package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.BigTheme;
import cn.wolfcode.luowowo.article.query.BigThemeQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 游记服务
 */
public interface IBigThemeService {


    /**
     * 分页查询
     * @param qo
     * @return
     */
    PageInfo query(BigThemeQuery qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    BigTheme get(Long id);


    /**
     * 添加与更新
     * @param bigTheme
     */
    void saveOrUpdate(BigTheme bigTheme);

    /**
     * 查询游记
     * @return
     */
    List<BigTheme> list();


}
